package com.ssd.mixly.service;


import org.eclipse.paho.client.mqttv3.MqttException;

public interface IMqttService  {

    //向mixly主题为send发送消息，参数为：舵机号（相当于指定货道编号）
    void send(String topic,String msg) throws MqttException;

    //开始监听mixly主题为listen,send的消息
    void listen(String[] topic) throws MqttException;

}
